import http from '@/common/interface'
//身份证识别
export function getIdCardRecognize(data){
	return http.request({
		url: '/userArch/getIdCardRecognize',
		method: 'get',
		data
	})
}
//获取我的反馈list
export function getFeedBackList(data){
	return http.request({
		url: '/index/getFeedBackPageList',
		method: 'get',
		data
	})
}
//获取反馈详情
export function getFeedBackDet(data){
	return http.request({
		url: '/index/getFeedBackDetail',
		method: 'get',
		data
	})
}
//添加反馈
export function addFeedBack(data){
	return http.request({
		url: '/index/addFeedBack',
		method: 'post',
		data
	})
}
//获取我的学习
export function getMyStudy(data){
	return http.request({
		url: '/order/getMyStudyPageList',
		method: 'get',
		data
	})
}
//获取我的关注
export function getMyFocus(data){
	return http.request({
		url: '/gz/getMyGzRecordPage',
		method: 'get',
		data
	})
}
//获取我的资源收藏
export function getMyRecSc(data){
	return http.request({
		url: '/index/getResScUpPage',
		method: 'get',
		data
	})
}
//获取我的商品收藏
export function getProSc(data){
	return http.request({
		url: '/goodsRecord/getGoodsSCList',
		method: 'get',
		data
	})
}
//获取今日签到信息
export function getSignInInfo(){
	return http.request({
		url: '/index/getSignInfo',
		method: 'get'
	})
}
//去签到
export function goSignIn(){
	return http.request({
		url: '/index/goSign',
		method: 'post'
	})
}
//领取积分任务
export function lqJfTask(data){
	return http.request({
		url: '/userIntegrationTask/addUserIntegrationTask',
		method: 'post',
		data
	})
}
//获取积分明细
export function getJfMxList(data){
	return http.request({
		url: '/user/getUbiPageList',
		method: 'get',
		data
	})
}
//获取邀请会员code以及posterImg
export function getInviteCode(){
	return http.request({
		url: '/invite/getMyInviteCanvas',
		method: 'get'
	})
}
//修改真实姓名
export function upSelfRealName(data){
	return http.request({
		url: '/user/upSelfRealName',
		method: 'put',
		data
	})
}
//修改用户昵称
export function upNickName(data){
	return http.request({
		url: '/user/upNetName',
		method: 'put',
		data
	})
}
//获取个人中心基本信息
export function getMyInfo(){
	return http.request({
		url: '/user/getMyInfo',
		method: 'get'
	})
}
//获取我的邀请记录
export function getMyInviteList(data){
	return http.request({
		url: '/invite/getMyInviteList',
		method: 'get',
		data
	})
}
//绑定好友邀请码
export function bindUserCode(data){
	return http.request({
		url: '/invite/addUserBind',
		method: 'post',
		data
	})
}
//修改手机号码
export function upMobile(data){
	return http.request({
		url: '/user/upMobile',
		method: 'put',
		data
	})
}
//修改头像
export function upUserHead(data){
	return http.request({
		url: '/user/upUserHead',
		method: 'put',
		data
	})
}
//加入共同体订单
export function addGttOrder(data){
	return http.request({
		url: '/gtt/addGttOrder',
		method: 'post',
		data
	})
}
//获取共同体保证金
export function genGttMoney(){
	return http.request({
		url: '/gtt/genGttMoney',
		method: 'post'
	})
}
//获取机构推广码
export function getOgzCode(){
	return http.request({
		url: '/ogz/getOgzCanvas',
		method: 'get'
	})
}
//获取账号注销协议
export function getAccZxDet(data){
	return http.request({
		url: '/xy/getXyDetail',
		method: 'get',
		data
	})
}
//设置账号有效状态至无效
export function setAccValidsta(data){
	return http.request({
		url: '/user/setAccountStatus',
		method: 'put',
		data
	})
}
export function upSex(data){
	return http.request({
		url: '/user/upSex',
		method: 'put',
		data
	})
}
//获取银行卡list
export function getBankList(){
	return http.request({
		url: '/bankCard/getBankCardList',
		method: 'get'
	})
}
//获取提现费率
export function getTxRateConfig(data){
	return http.request({
		url: '/tx/getTxRateConfig',
		method: 'get',
		data
	})
}
//插入提现订单
export function addTxOrder(data){
	return http.request({
		url: '/tx/addTxOrder',
		method: 'post',
		data
	})
}
//获取提现记录
export function getTxRecord(data){
	return http.request({
		url: '/tx/getTxPageList',
		method: 'get',
		data
	})
}
//获取提现详情
export function getTxOrderDetail(data){
	return http.request({
		url: '/tx/getTxOrderDetail',
		method: 'get',
		data
	})
}